<%@ page pageEncoding="utf-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<title>修改用户</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="/resources/js/commons.js"></script>
	<link rel="stylesheet" type="text/css" href="/resources/css/commons.css" />
</head>
<body>
	<h2>修改用户</h2>
	<hr/>
	<form action="/sysUserUpdate" method="POST">
		<!-- hidden隐藏域,在提交表单时连food.id一起提交 -->
		<input type="hidden" name="id" value="${ user.id }"/>
		<table border="1">
			<tr>
				<td width="30%">账号</td>
				<td>
					<input type="text" name="account" value="${ user.account }"/>
				</td>
			</tr>
			<tr>
				<td width="30%">密码</td>
				<td>
					<input type="text" name="password" value="${ user.password }"/>
				</td>
			</tr>
			<tr>
				<td>名称</td>
				<td>
					<input type="text" name="name" value="${ user.name }"/>
				</td>
			</tr>
			<tr>
				<td>邮箱</td>
				<td>
					<input type="text" name="email" value="${ user.email }"/>
				</td>
			</tr>
			<tr>
				<td>生日</td>
				<td>
					<input type="text" name="birthday" value="${ user.birthday }"/>
				</td>
			</tr>
			<tr>
				<td>手机号码</td>
				<td>
					<input type="text" name="mobile" value="${ user.mobile }"/>
				</td>
			</tr>
			<tr>
				<td>QQ号码</td>
				<td>
					<input type="text" name="qqnumber" value="${ user.qqnumber }"/>
				</td>
			</tr>
			<tr>
				<td>状态（在线为1，下线为0，禁用为-1）</td>
				<td>
					<input type="text" name="state" value="${ user.state }"/>
				</td>
			</tr>
			<tr>
				<td>允许登录次数</td>
				<td>
					<input type="text" name="restLoginChances" value="${ user.restLoginChances }" />
				</td>
			</tr>

			<tr>
				<td colspan="2">
					<input type="submit" value="提	交" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>



